<template>
    <div class="demo-type">
    <div>
      <el-avatar :icon="UserFilled"></el-avatar>
    </div>
  </div>
</template>

<script>
 export default {
   name: 'home'
 }
</script>

<script setup>
console.log('当前环境变量', import.meta.env)
import { getCurrentInstance } from '@vue/runtime-core'
const instance = getCurrentInstance()
const  axios = instance.appContext.config.globalProperties.$http
axios.post('/login').then(res => {
  console.log(res);
})

</script>

<style scoped>

</style>
